﻿using System.ComponentModel.DataAnnotations;

namespace TianYu.Core.Common
{
    public class PageRequestModel
    {
        /// <summary> 当前页码 </summary>
        [UnsignedNumber]
        public int PageIndex { get; set; } = 1;

        /// <summary> 页码大小 </summary>
        [UnsignedNumber]
        public int PageSize { get; set; } = 10;
    }
}
